package com.nineclock.system.service;

import com.nineclock.common.entity.PageResult;
import com.nineclock.system.dto.SysCompanyUserDTO;
import com.nineclock.system.excel.ExcelMember;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SysCompanyUserService {
    List<SysCompanyUserDTO> queryCompanyUser(Long userId, Long companyId);

    List<SysCompanyUserDTO> findAllCompanyUsers();

    SysCompanyUserDTO queryCompanyUserById(Long companyUserId);

    PageResult<SysCompanyUserDTO> getDepartmentMembers(Integer page, Integer pageSize, Long departmentId, String keyword);

    void uploadExcel(MultipartFile file) throws Exception;

    void handleParsedData(List<ExcelMember> list);

    SysCompanyUserDTO findCompanyUserByMobile(String mobile);

    Integer getAllUserByDepartmentIdList(List<Long> departmentIds);

    SysCompanyUserDTO getAdminByCompanyId(Long companyId);

    List<SysCompanyUserDTO> getAllUserByCompanyId(Long companyId);
}
